package Day5Zuoye;

public class PetTest {
    public static void main(String[] args) {
        PetDog petDog=new PetDog("舔狗","土狗",200);
        petDog.show();
        petDog.eat();
        System.out.println("-----------");
        PetCat petCat=new PetCat("Tom","傻猫",150);
        petCat.show();
        petCat.sleep();
        System.out.println("-----------");
        PetParrot petParrot=new PetParrot("Apxe","法国鹦鹉",50);
        petParrot.show();
        petParrot.eat();
    }


}
